/*#CC3300*/

.rgba-primary-0 { color: rgba(  0,  0,  0,1) }	/* Main Primary color */
.rgba-primary-1 { color: rgba(255,255,255,1) }
.rgba-primary-2 { color: rgba( 99, 99, 99,1) }
.rgba-primary-3 { color: rgba(102, 26,  0,1) }
.rgba-primary-4 { color: rgba(255, 65,  0,1) }

* {
    color: #eaeaea;
    font-family: "Verdana", "Helvetica", "Arial", sans-serif;
    font-size: 14px;
    border: 0px solid #4a4a4a;
    border-radius: 10px;
    text-align: center;
    padding: 0px;
    margin: 0px;
}

*:focus {
    outline: none;
    -webkit-box-shadow: 0px 0px 0px 1px rgba(255, 65, 0, .7);
    box-shadow: 0px 0px 0px 1px rgba(255, 65, 0, .7);
}

*:disabled {
    background-color: #AAAAAA;
}

#menu a,
#menu a:active,
#menu a:visited,
#menu a:hover {
    text-decoration: none;
    font: inherit;
}

/*html,*/
body {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 30px;
    background-color: black;
    background-image: url(/images/BackGround.png);
    backGround-repeat: no-repeat;
    background-position: center;
}

div {
    background-color: #1d1d1d;
}

select,
input {
    border-radius: 3px;
    border-width: 1px;
    border-color: #1d1d1d;
    color: #1d1d1d;
    width: 150px;
    background-color: #eaeaea;
    text-align: left;
    padding: 2px;
    font-size: 14px;
}

option {
    color: black;
}

select {
    width: 156px;
}

h1 {
    width: 100%;
}

#main {
    width: calc(1000px + 2px);
    height: 900px;
    border-width: 1px;
}

#heading {
    height: 140px;
    border-width: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    background-color:#5d5d5d;
    display: flex;
    justify-content: center;
    align-items: center;
}

#heading > img {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

#menu {
    border-top-width: 1px;
    border-bottom-width: 1px;
    border-bottom-color: #101010;
    border-radius: 0px;
    border-bottom-right-radius: 0px;
    background-color:#333333;
    display: flex;
    height: 25px;
}

.menuItem {
    cursor: pointer;
    display: none;
}

#loginMenu {
    display: flex;
}

.menuSpacer,
.menuItem {
    height: 25px;
    border-radius: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    margin-left:1px;
    margin-right:1px;
    background-color: #3a3a3a;
    padding-left: 5px;
    padding-right: 5px;

    background: -webkit-linear-gradient(#4e4e4e, #3a3a3a, #4e4e4e); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#4e4e4e, #3a3a3a, #4e4e4e); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#4e4e4e, #3a3a3a, #4e4e4e); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#4e4e4e, #3a3a3a, #4e4e4e); /* Standard syntax */

}

.menuItem:first-child {
    margin-left: 0px;
}

.menuItem:hover {
    background-color: #4b4b4b;
    background: -webkit-linear-gradient(#5f5f5f, #4b4b4b, #5f5f5f); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#5f5f5f, #4b4b4b, #5f5f5f); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#5f5f5f, #4b4b4b, #5f5f5f); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#5f5f5f, #4b4b4b, #5f5f5f); /* Standard syntax */
}

/*
#eventsMenu,
#profileMenu {
    display: none;
}
*/

.menuSpacer {
    flex-grow: 1;
}

/*#menu > div:nth-child(4) making so superfluous change */
#menu > div:last-child {
    float: right;
}

.formView {
    border-width: 1px;
    border-color: black;
    background-color: #cccccc;
}

#loginBox {
    display: none;
    position: absolute;
    top: calc((100% / 2) - (225px / 2));
    left: calc((100% / 2) - (532px / 2));
}

#resetPwBox {
    display: block;
    position: absolute;
    top: calc((100% / 2) - (225px / 2));
    left: calc((100% / 2) - (254px / 2));
}

#eventDetails {
    display: none;
    align-items: flex-start;
    align-content: space-between;
    justify-content: center;
    flex-wrap: wrap;

    width: 80%;
    padding: 10px;
}

#eventDetails table {
    border-spacing: 0px;
    -webkit-border-vertical-spacing: 1px;
}

#eventDetails thead tr:first-child th {
    background-color: #CC3300;
    color: #eaeaea;
    font-size: 32px;
}

#eventDetails thead tr:last-child th {
    background-color: #CC3300;
    color: #eaeaea;
    border-radius: 0px;
}

#eventDetails thead tr:last-child th:first-child {
    border-radius: 3px 0px 0px 10px;
}

#eventDetails thead tr:last-child th:last-child {
    border-radius: 0px 3px 10px 0px;
}

#eventDetails > table.eventSpecs > thead > tr > th:first-child,
#eventDetails > table.eventSpecs > thead > tr > th:last-child {
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

#eventDetails > table.eventSpecs {
    border-spacing: 0px;
    width: auto;
    border-width: 1px;
    margin-bottom: 10px;
}

#eventDetails > table.eventSpecs > tbody > tr > td {
    text-align: left;
    padding-left: 2px;
    padding-right: 2px;
}

#eventDetails > table.eventSpecs td.right {
    text-align: right;
}

#eventDetails > table.eventSpecs > tbody > tr:last-child > td:first-child {
    padding-left: 10px;
}

#eventDetails > table.eventSpecs > tbody > tr:last-child > td {
    padding-bottom: 10px;
}

#eventDetails > table.eventSpecs > tbody > tr > td:first-child {
    padding-left: 10px;
}

#eventDetails > table.eventSpecs > tbody > tr > td:last-child {
    padding-right: 10px;
}

.eventSpecs tbody td span {
    font-weight: bold;
    color: black;
}
.eventSpecs #address > a,
.eventSpecs #address > a:active,
.eventSpecs #address > a:visited,
.eventSpecs #address > a:hover {
    color: black;
    text-decoration: underline;
}

.formView .eventSignUp td {
    text-align: left;
}

.formView .eventSignUp td:first-child {
    text-align: right;
}


.formView .eventSignUp tr:last-child td button {
/*    text-align: center;*/
    margin-left: 0px;
}

.spacer {
    display: inline-block;
    width:15px;
}

.formView .eventSignUp tr > td:nth-child(5) {
    text-align: center;
}

.formView .eventSignUp tr > td {
    white-space: nowrap;
}

.centerLeft {
    display: inline-block;
    width: 20px;
    text-align: left;
}

.eventSignUp thead > tr:last-child > th:first-child {
    border-top-left-radius: 3px;
}

.eventSignUp thead > tr:last-child > th:last-child {
    border-top-right-radius: 3px;
}

.formView table {
    width: 100%;
}

.formView thead tr:first-child th {
    background-color: #CC3300;
    color: #FFFFFF;
    font-size: 14px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

.formView td .centerLeft,
.formView th,
.formView td {
    color: black;
}

/*
#createEvent td {
    text-align: right;
}
*/

.loginOptions {
    background-color: transparent;
    display: inline-block;
    border-radius: 0px;
    width: 244px;
    color: #1d1d1d;
    margin: 10px;
    margin-bottom: 8px;
    vertical-align: text-top;
}

#login {
    border-right-width: 2px;
    padding-right: 10px;
    margin-right: 0px;
}

#register {
    padding-left: 10px;
    margin-left: 0px;
}

.loginOptions > table > tbody > tr {
    height: 23px;
}

.loginOptions > table {
    width: calc(100%);
}

.formView > table > tbody > tr:last-child > td:first-child,
.loginOptions > table > tbody > tr:last-child > td:first-child,
.loginOptions > table > tbody > tr:nth-child(5) > td:first-child {
    text-align: center;
}

.formView table td:first-child,
.loginOptions > table > tbody > tr > td:first-child {
    text-align: right;
    color: #000000;
}

.formView th,
.loginOptions > table > thead > tr > th {
    background-color: #CC3300;
    color: white;
    padding: 4px;
}

button,
.button {
    min-width: 100px;
    color: black;
    height: 25px;
    border-width: 1px;
    border-radius: 6px;
    margin: 4px;
    padding: 4px;
}

.loginButtonPressed{
    background-color: #aaaaaa;
}

#upcommingEvents {
    display: inline-block;
    border-color: black;
    background-color: #cccccc;
    padding: 10px;
    width: 182px;
    height: calc(100% - 20px);
    border-radius: 0px 0px 0px 10px;
    border-right-width: 2px;
}

/*
#createEvent {
    display: none;
    position: relative;
    left: calc((100% / 2) - (309px / 2));
    border-width: 1px;
    border-color: black;
    background-color: #cccccc;
    width: 273px;
    padding: 10px;
}
*/

#bodyContainer {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    align-content: baseline;
    flex-wrap: wrap;
    height: calc(100% - 140px - 27px);
}

#eventRight,
#eventLeft {
    display: inline-block;
    margin: 0px;
    padding: 0px;
    border-width: 0px;
    height: 100%;
}

#eventLeft {
    width: 204px;
}

#eventRight {
    width: calc(100% - 204px);
}

.event {
    background-color: rgb(221, 221, 221);
    display: inline-block;
    width: calc(100% - 8px);
    padding: 4px;
    margin-bottom: 3px;
}

.eventHover {
    background-color: rgb(200, 200, 255);
}

.eventTitle {
    text-align: left;
    font-weight: bold;
    font-size: 14px;
    color: black;
    background-color: transparent;
}

.dateTitle,
.hostTitle {
    font-weight: bold;
    font-size: 10px;
    color: black;
    background-color: transparent;
    display: inline-block;
    text-align: left;
    padding-right: 2px;
    width: 40px;
}

.dateTitle::after,
.hostTitle::after{
    content: ":";
}

.eventDates > span:last-child,
.hostName {
    font-size: 10px;
    color: black;
    background-color: transparent;
    text-align: left;
}

.eventHost,
.eventDates {
    font-size: 10px;
    color: black;
    background-color: transparent;
    text-align: left;
    margin-left: 5px;
}

.eventClick {
    font-size: 10px;
    color: black;
    background-color: transparent;
    text-decoration: underline;
    text-align: center;
}

.pwHidden {
    display: none;
}

.pwShow {
    display: table-row;
}

#forgotPw{
    font-size: 10px;
    color: black;
    text-decoration: underline;
    cursor: pointer;
}

.poll {
    width: auto;
    max-width: 90%;
    margin: auto;
    margin-top: 50px;
    background-color: #cccccc;
}

.poll > h1 {
    background-color: #CC3300;
    width: 100%;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.poll thead {
    background-color: #CC3300;
}

.poll th {
    text-align: center;
    border-radius: 0px;
    margin: 0px;
}

.poll th:first-child {
    width: 115px;
    overflow: hidden;
}

.poll td {
    color: black;
    padding-left: 5px;
    padding-right: 5px;
}

.poll td:first-child {
    text-align: left;
    overflow: hidden;
}

.poll table {
    width: 100%;
    table-layout: fixed;
}
